{% extends '::base.html.twig' %}
{% block title %}Eliminar Usuario{% endblock %}

{% block greensectiontitle %}Eliminar Usuario{% endblock %}

{% block body %}
<h2>Usuario</h2>

<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        
        <tr>
            <th>Nombreusuario</th>
            <td>{{ entity.username }}</td>
        </tr>
    </tbody>
</table>

<form id='deleteForm' action="{{ path('usuario_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
        <div id="controls">
            <a id="deleteButton" href="#">Eliminar</a>
            <a href="{{ path('usuario') }}">Cancelar</a>
        </div>
    </form>
{% endblock %}
